package org.pangu.test.publish;

import java.util.EventListener;

/**
 * @author zhangyj
 * @date 2022/7/19 22:56
 */
public class LoginListener implements EventListener {

    public void onEvent(LoginEvent event) {
        //请求redis，保存登录次数和用户信息
        System.out.println("用户登录");
    }
}
